<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Classify Management</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/type.css" />
<script type="text/javascript" src="__PUBLIC__/js/admin.js"></script>

<body>
<br>
<br>
<form method="post">
<table class="classify_table1">
	<tr>
		<td><span class="classify_table_title">新增分类</span> <span
			class="classify_table_button">
		<input type="submit" value="新增" />
		</span> <span class="classify_table_button">
		<button><a href="__MODULE__/Goodcategory/index">返回</a>
		</button>
		</span></td>
	</tr>
	<tr>
		<td>
		<div class="tab"><span>分类名称：<input type="text" name="CategoryName"></span><br>
		<span>上级分类： <select name="level" id="level">
			<option value="0">顶级分类</option>
			<foreach name="data" item="v">
			<!-- 将列表输出 ，并使用str_repeat添加空格进行缩进，把字符串 "&nbsp;&nbsp;&nbsp;&nbsp;" 重复 $v['deep'] 次：-->
			<option value="{$v.GoodcategoryId}">{:str_repeat('&nbsp;&nbsp;&nbsp;&nbsp;',$v['deep']).$v['CategoryName']}</option>
			</foreach>
		</select> </span><br>
		</div>
		</td>
	</tr>
</table>
</form>
</body>
</html>